<?php
require('config.php');

$search = ht_import('search') or die('cannot import class search!');
$tm->assign('searchs', $search->getsearchs($keyword, intval(@$_GET['pn'])));
$tm->assign('total', $search->total);
$tm->assign('pagecnt', $search->pagecnt);
$tm->assign('pagenum', $search->pagenum);
$tm->assign('pagestart', $search->pagestart);
$tm->assign('pageend', $search->pageend);
$tm->display('search');
?>
